Thread: uh... -> .* * ! | & ^= ++ @(#)$*&#@!!!

  1. #16
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I always get messed up with that as well. I guess it's just a habit carried over from my BASIC days.

  2. #17
    Registered User
    Join Date
    Jul 2004
    Posts
    60
    You forgot the ! (NOT) operator. It is usually used to make a boolean value the opposite of what it actually is for a conditional. the .* and ->* are just saying -> then "value pointed by" or . and " ".
    Child who knows C++
    Using Borland C/C++ Compiler 5.5 (Command Line Version)

  3. #18
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Code:
        int Func::*pm = &Func::code;   // this is legal, believe it or not
        void (Func::*pf)(int) = &Func::foo;   //this is legal too!
    Learn something new every day... I guess I'll have to look up how to overload those operators sometime. I'd always assumed it was just another way of saying overloading ->.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. small -> big -> bigger -> bigger than bigger -> ?
    By happyclown in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 03-11-2009, 12:12 PM
  2. Changing flags from a DLL?
    By RobotGymnast in forum C++ Programming
    Replies: 17
    Last Post: 10-27-2008, 01:34 PM
  3. Dev-C++ -> Tools - > Editor -> Syntax
    By Yuri2 in forum C++ Programming
    Replies: 19
    Last Post: 07-03-2006, 07:48 AM
  4. > > > Urgent Help < < <
    By CodeCypher in forum C Programming
    Replies: 2
    Last Post: 01-31-2006, 02:06 PM